import Layout from '@/layout'
export default { path: '/employees',
  component: Layout,
  children: [{
    path: '',
    name: 'employees',
    component: () => import('@/views/employees/index.vue'),
    meta: { title: '员工管理', icon: 'people' }
  },
  {
    // path: 'detail', // 查询参数传参, 路径不变
    path: 'detail/:id', // 路径参数传参, 需要在路由接收配置
    name: 'detail',
    component: () => import('@/views/employees/detail.vue'),
    hidden: true
  }
  ]
}
